package com.example.selfcontrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class StudentStuff {
    // 存储学生认证的 辅助材料

    @TableId(type = IdType.AUTO)
    private Long id;

    private Long userId ;   // 请求认证的用户Id

    private String picture ; // 学生证照片

    private String code ; // 学号信息

    public StudentStuff(Long userId, String picture, String code) {
        this.userId = userId;
        this.picture = picture;
        this.code = code;
    }
}
